package com.z.common.configure.proprety;

import org.springframework.stereotype.Component;

/**
 * Describe: 默 认 配 置
 * Author: z
 * CreateTime: 2019/10/23
 */
@Component
public class GenProperty {
    /**
     * 作者
     **/
    public static String author = "z";

    /**
     * 生成包路径
     **/
    public static String packageName = "com.z.sys";

    /**
     * 自动去除表前缀，默认是false
     **/
    public static boolean autoRemovePre = true;

    /**
     * 表前缀(类名不会包含表前缀)
     **/
    public static String tablePrefix = "t_,sys_";

    public static String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public static String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public static boolean getAutoRemovePre() {
        return autoRemovePre;
    }

    public void setAutoRemovePre(boolean autoRemovePre) {
        this.autoRemovePre = autoRemovePre;
    }

    public static String getTablePrefix() {
        return tablePrefix;
    }

    public void setTablePrefix(String tablePrefix) {
        this.tablePrefix = tablePrefix;
    }
}
